package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 短信发送记录对象 sys_sms_record
 *
 * @author realue
 * @date 2023-11-02
 */
@ApiModel
public class SysSmsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /** 短信内容 */
    @Excel(name = "短信内容")
    @ApiModelProperty(value = "短信内容")
    private String message;

    /** 字数 */
    @Excel(name = "字数")
    @ApiModelProperty(value = "字数")
    private Long wordCnt;

    /** 发送文本标识 */
    @Excel(name = "发送文本标识")
    @ApiModelProperty(value = "发送文本标识")
    private Integer sendWord;

    /** 发送语音标识 */
    @Excel(name = "发送语音标识")
    @ApiModelProperty(value = "发送语音标识")
    private Integer sendTts;

    /** 业务类型 */
    @Excel(name = "业务类型")
    @ApiModelProperty(value = "业务类型")
    private Integer busiType;

    /** 状态 0.未发送 1.发送成功 2.发送失败 */
    @Excel(name = "状态 0.未发送 1.发送成功 2.发送失败")
    @ApiModelProperty(value = "状态 0.未发送 1.发送成功 2.发送失败")
    private Integer status;

    /** 发送失败原因 */
    @Excel(name = "发送失败原因")
    @ApiModelProperty(value = "发送失败原因")
    private String reason;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }
    public void setWordCnt(Long wordCnt)
    {
        this.wordCnt = wordCnt;
    }

    public Long getWordCnt()
    {
        return wordCnt;
    }
    public void setSendWord(Integer sendWord)
    {
        this.sendWord = sendWord;
    }

    public Integer getSendWord()
    {
        return sendWord;
    }
    public void setSendTts(Integer sendTts)
    {
        this.sendTts = sendTts;
    }

    public Integer getSendTts()
    {
        return sendTts;
    }
    public void setBusiType(Integer busiType)
    {
        this.busiType = busiType;
    }

    public Integer getBusiType()
    {
        return busiType;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setReason(String reason)
    {
        this.reason = reason;
    }

    public String getReason()
    {
        return reason;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mobile", getMobile())
                .append("message", getMessage())
                .append("wordCnt", getWordCnt())
                .append("sendWord", getSendWord())
                .append("sendTts", getSendTts())
                .append("busiType", getBusiType())
                .append("status", getStatus())
                .append("reason", getReason())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sysAccount", getSysAccount())
                .toString();
    }
}
